<script>
	export default {
		onLaunch: function() {
			console.log('App Launch')
			uni.setTabBarBadge({
				index: 2,
				text: '9'
			})
			uni.showTabBarRedDot({
				index: 1,
			})
		},
		onShow: function() {
			console.log('App Show')
		},
		onHide: function() {
			console.log('App Hide');
			uni.$emit('app-hide'); // 推送app hide通知
		}
	}
</script>

<style lang="scss">
	/*每个页面公共css */

	@import "uview-ui/index.scss";
	@import './commom/styles/index.scss';

	

	.content {
		/* #ifndef APP-NVUE */
		display: flex;
		/* #endif */
		flex-direction: column;
		align-items: center;
		justify-content: center;
	}
	
</style>
